package cn.anosi.page;

import java.util.List;

/**
 * @Description: 分页响应
 * @author 刘彦硕
 * @date 2017年1月9日 下午5:09:37
 */
public class PageResponseBean<T> {
	private Integer draw;// 页数
	private Long recordsTotal;// 总记录数
	private Long recordsFiltered;// 可见记录数
	private List<T> data;// 本页数据

	public Integer getDraw() {
		return draw;
	}

	public void setDraw(Integer draw) {
		this.draw = draw;
	}

	public Long getRecordsTotal() {
		return recordsTotal;
	}

	public void setRecordsTotal(Long recordsTotal) {
		this.recordsTotal = recordsTotal;
	}

	public Long getRecordsFiltered() {
		return recordsFiltered;
	}

	public void setRecordsFiltered(Long recordsFiltered) {
		this.recordsFiltered = recordsFiltered;
	}

	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		this.data = data;
	}
}
